.class Lcom/netease/newsreader/activity/SettingsActivity$3;
.super Ljava/lang/Object;
.source "SettingsActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/SettingsActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/SettingsActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/SettingsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/SettingsActivity$3;->this$0:Lcom/netease/newsreader/activity/SettingsActivity;

    .line 401
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "arg0"

    .prologue
    .line 404
    iget-object v2, p0, Lcom/netease/newsreader/activity/SettingsActivity$3;->this$0:Lcom/netease/newsreader/activity/SettingsActivity;

    invoke-virtual {v2}, Lcom/netease/newsreader/activity/SettingsActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/activity/MyApplication;

    .line 405
    .local v0, a:Lcom/netease/newsreader/activity/MyApplication;
    const-string v2, "Y"

    invoke-virtual {v0, v2}, Lcom/netease/newsreader/activity/MyApplication;->setGoHome(Ljava/lang/String;)V

    .line 406
    iget-object v2, p0, Lcom/netease/newsreader/activity/SettingsActivity$3;->this$0:Lcom/netease/newsreader/activity/SettingsActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/SettingsActivity;->access$2(Lcom/netease/newsreader/activity/SettingsActivity;)Landroid/widget/PopupWindow;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->dismiss()V

    .line 407
    iget-object v2, p0, Lcom/netease/newsreader/activity/SettingsActivity$3;->this$0:Lcom/netease/newsreader/activity/SettingsActivity;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcom/netease/newsreader/activity/SettingsActivity;->access$3(Lcom/netease/newsreader/activity/SettingsActivity;Z)V

    .line 408
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 409
    .local v1, i:Landroid/content/Intent;
    iget-object v2, p0, Lcom/netease/newsreader/activity/SettingsActivity$3;->this$0:Lcom/netease/newsreader/activity/SettingsActivity;

    const-class v3, Lcom/netease/newsreader/activity/NewsReader;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 410
    const/high16 v2, 0x400

    invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 411
    iget-object v2, p0, Lcom/netease/newsreader/activity/SettingsActivity$3;->this$0:Lcom/netease/newsreader/activity/SettingsActivity;

    invoke-virtual {v2, v1}, Lcom/netease/newsreader/activity/SettingsActivity;->startActivity(Landroid/content/Intent;)V

    .line 414
    return-void
.end method
